all: test kmy350.so

test:
	gcc -o test test.c -ldl

#kmy350.so:kmy350.c
#	gcc -shared -lc -o kmy350.so kmy350.c	
	
kmy350.so:kmy350.o
	gcc -shared -lc -o kmy350.so kmy350.o

kmy350.o:
	gcc -c -fpic kmy350.c	

clean:
	rm -rf test kmy350.o kmy350.so	






	

	
